if (CONFIG_SOC_{{ soc | upper }}_CPUAPP)
  board_runner_args(jlink "--device={{ soc | replace("nrf", "nRF") }}_M33" "--speed=4000")
elseif (CONFIG_SOC_{{ soc | upper }}_CPUFLPR)
  board_runner_args(jlink "--device={{ soc | replace("nrf", "nRF") }}_RV32" "--speed=4000")
endif()

include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
